package com.cmc.cloud.cmclink.doc.convert;

import com.cmc.cloud.cmclink.doc.api.document.rep.VoyageBookingTimeRespDto;
import com.cmc.cloud.cmclink.doc.entity.VoyageBookingTimeDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lzp
 */
@Mapper
public interface VoyageBookingTimeConvert {
    VoyageBookingTimeConvert INSTANCE = Mappers.getMapper(VoyageBookingTimeConvert.class);

    /**
     * 属性转换 convert
     *
     * @param voyageBookingTimeDOList
     * @return
     */
    List<VoyageBookingTimeRespDto> convertList(List<VoyageBookingTimeDO> voyageBookingTimeDOList);

}
